package com.qcby.dao;

import com.qcby.entity.Exam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamDao {
    List<Exam> getExam(Exam exam);

    void addExam(Exam exam);

    Exam getExamById(Integer id);

    void updateExam(String craetor);

    void updateExambyId(Integer id);

    Integer getExamByName(Exam exam);

    void deleteExam(String name);
}
